package com.naiterui.ehp.bs.doctor.vo;

import java.util.List;

import org.apache.commons.lang3.builder.ToStringBuilder;

import com.fasterxml.jackson.annotation.JsonIgnore;

import lombok.Data;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 医生证件资质信息
 *
 * @author 王泽浩
 * @since 1.0.0
 */
@Data
@ApiModel(value = "LicenceVO", description = "医生证件资质信息 vo")
public class LicenceVO implements java.io.Serializable {

    private static final long serialVersionUID = 1812520155348742711L;

    @JsonIgnore
    private Long id;

    /**
     * 医生ID
     */
    @JsonIgnore
    @ApiModelProperty(hidden = true)
    private Long doctorId;

    /**
     * 资质类型1:个人照片,2:工作证,3:职业资格证,4:身份证,5:职称证书,6:医师资格证
     */
    @JsonIgnore
    @ApiModelProperty(hidden = true)
    private Integer type;

    @ApiModelProperty(value = "证件编号")
    private String number;

    /**
     * 图片地址有序集合：<code>urls</code>
     */
    @ApiModelProperty(value = "图片地址有序集合")
    private List<String> urls;

    public LicenceVO(Long doctorId, Integer type, String number, List<String> urls) {
        this.doctorId = doctorId;
        this.type = type;
        this.number = number;
        this.urls = urls;
    }

    public LicenceVO() {
    }

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this);
    }
}
